// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import  FastClick  from  'fastclick'
import Vant from 'vant';
import { Lazyload } from 'vant';
import http  from './api/http.js'
import 'vant/lib/index.css';
import '@/assets/style/reset.css'
import '@/assets/style/border.css'

FastClick.attach(document.body);
Vue.use(Lazyload,{
  lazyComponent: true
});
Vue.use(Vant);

Vue.prototype.$http = http

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
